﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Honestysoft.Baseframework.WebUI;
using Honestysoft.BaseObject;
using Honestysoft.Financing.Model;

namespace Honestysoft.Financing.WebUI.Module.Audit
{
    public partial class ActiveAT : BasePage
    {
        protected override void Page_Load(object sender, EventArgs e)
        {
            string maxID = new Honestysoft.Financing.BusinessLogic.Audit(Globals.CurrentConnStringName).GetMaxBatchID();

            if (!string.IsNullOrEmpty(maxID))
            {
                Response.Redirect(string.Format("Bu_AuditTable_List.aspx?ID={0}&FunctionID={1}&BatchID={2}&NodeText=&NodeType=0", maxID, FunctionID, maxID));
            }
            //Bu_AuditTable_List.aspx?ID=4654E1EA-1C06-4028-AB32-136197D65368&BatchID=4654E1EA-1C06-4028-AB32-136197D65368&FunctionID=HL201203082311365410000468&NodeType=0&NodeText=%uFF0845%uFF09%u7B2C%u56DB%u5341%u4E94%u6279
        }
    }
}